home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / glibmm-2.4 / glibmm / exception.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-04-20  |  1.1 KB  |  43 lines

  1. // -*- c++ -*-
  2. #ifndef _GLIBMM_EXCEPTION_H
  3. #define _GLIBMM_EXCEPTION_H
  4. /* $Id: exception.h,v 1.1.1.1 2003/01/07 16:58:45 murrayc Exp $ */
  5.  
  6. /* exception.h
  7.  *
  8.  * Copyright 2002 The gtkmm Development Team
  9.  *
  10.  * This library is free software; you can redistribute it and/or
  11.  * modify it under the terms of the GNU Library General Public
  12.  * License as published by the Free Software Foundation; either
  13.  * version 2 of the License, or (at your option) any later version.
  14.  *
  15.  * This library is distributed in the hope that it will be useful,
  16.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  18.  * Library General Public License for more details.
  19.  *
  20.  * You should have received a copy of the GNU Library General Public
  21.  * License along with this library; if not, write to the Free
  22.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  23.  */
  24.  
  25. #include <glibmm/ustring.h>
  26.  
  27.  
  28. namespace Glib
  29. {
  30.  
  31. class Exception
  32. {
  33. public:
  34.   virtual ~Exception() throw() = 0;
  35.   virtual Glib::ustring what() const = 0;
  36. };
  37.  
  38. } // namespace Glib
  39.  
  40.  
  41. #endif /* _GLIBMM_EXCEPTION_H */
  42.  
  43.